package org.luxor.commons.swagger.entity;

import org.luxor.commons.core.web.IRestStatus;

/**
 * @author Mr.Yan  @date 2020/3/31
 */
public class SwaggerApiInfo {
    /**
     * 微服务标题
     */
    private String title;

    /**
     * 微服务描述
     */
    private String description;

    /**
     * 微服务URL
     */
    private String serviceUrl;

    /**
     * 微服务接口版本
     */
    private double version;

    /**
     * 微服务全局状态码
     */
    private IRestStatus[] statuses;

    public SwaggerApiInfo() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getServiceUrl() {
        return serviceUrl;
    }

    public void setServiceUrl(String serviceUrl) {
        this.serviceUrl = serviceUrl;
    }

    public double getVersion() {
        return version;
    }

    public void setVersion(double version) {
        this.version = version;
    }

    public IRestStatus[] getStatuses() {
        return statuses;
    }

    public void setStatuses(IRestStatus[] statuses) {
        this.statuses = statuses;
    }
}
